package nsu.edu.zsq.param;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/** 
* Description: 封装my_configuration.yml配置文件中的配置信息<br>
*/
@Setter
@Getter
@ToString
@Component
@PropertySource(value = "classpath:my-configuration.properties")
@ConfigurationProperties(prefix = "my-configuration")
public class MyConfiguration {

    /**
     * 上传文件存放的磁盘位置
     */
    private String uploadPath;
}
